<!DOCTYPE html>
<html>
<head>
    <title>家校通</title>
    <meta name="keywords" content="" />
    <meta name="description" content="">
    <include file="public@head"/>
</head>
<body class="body-white" >
<include file="public@nav" />


<div class="container tc-main">
    <div class="row">
        <div class="col-md-3">
            <include file="public@jiaxiaonav" />
        </div>

        <div class="col-md-9">
            <!--标题 -->
            <div class="personal-nav" style="padding-bottom: 50px;">
                <h2>查看孩子信息</h2>
                <div>
                    <a class="btncss" style="float:right;" href="{:url('jiaxiaotong/ChildrenInfo/add')}" >添加孩子</a>
                </div>
            </div>
            <!--标题 -->

            <!--课程情况 -->
            <div class="personal-class">
                <ul>
                    <foreach name="students" item="vo">
                        <li>
                            <h3>{$vo.name}</h3>
                            <dl class="info">
                                <dd><em>学号：</em>{$vo.code}</dd>
                                <dd>
                                    <em>老学号：</em>
                                    {$vo.old_cold|default='无'}
                                </dd>
                                <dd>
                                    <em>性别：</em>
                                    <if condition="$vo.gender eq 1">
                                        男
                                        <elseif condition="$vo.gender eq 2"/>
                                        女
                                        <else/>
                                        未填写
                                    </if>
                                </dd>
                                <dd>
                                    <em>生日：</em>
                                    <if condition="$vo.birthday gt 0">
                                        {$vo.birthday|date='Y-m-d',###}
                                        <else/>
                                        未填写
                                    </if>
                                </dd>
                                <dd>
                                    <em>学校：</em>
                                    {$vo.school_name|default=''}
                                </dd>
                                <dd>
                                    <em>年级：</em>
                                    {$vo.grade|default=''}年级
                                </dd>
                            </dl>
                            <dl class="continue" style="text-align: right;">
                                <a class='' href="{:url('jiaxiaotong/ChildrenInfo/edit',array('id'=>$vo['id']))}">
                                    编辑
                                </a>
                            </dl>
                        </li>
                    </foreach>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- /container -->

<include file="public@footer" />
<include file="public@scripts" />
</body>
</html>